package broker;
import problemDomain.*;
import problemDomain.EmployeeAccountBean.Position;
import broker.*;

/**
 * Created on 15-Feb-09
 */

/**
 * @author Jason Funk
 * @version 1.0
 */
public class testBrokers
{

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		
		try
		{
			
			EmployeeAccountBroker cb = EmployeeAccountBroker.getBroker();

			EmployeeAccountBean ib = new EmployeeAccountBean(0, "captain", "password", "John", "Smith", Position.MANAGER, 2363);
			cb.validate(ib);
		
		} catch (ErrorBean e1)
		{
			e1.printStackTrace();
		}
	}
}